<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('index');
})->name('index');

Route::get('/contact', function () {
    return view('contact');
})->name('contact');


Route::get('/new', function () {
    return view('new');
})->name('new');


Route::get('/projects', function () {
    return view('projects');
})->name('projects');

Route::get('/results', [\App\Http\Controllers\ResultController::class, 'index'])->name('results');

Route::get('/team', function () {
    return view('team');
})->name('team');

Route::get('/about', function () {
    return view('about');
})->name('about');

